﻿<Window x:Class="Flux_Balance_Analysis.ReactionWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:Flux_Balance_Analysis"
        Title="ReactionWindow" Width="320" Height="160" MinWidth="250" MinHeight="160" Loaded="Window_Loaded">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="100" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="100" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <GroupBox Header="Metaboliti coinvolti" Grid.ColumnSpan="3">
            <Grid >
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*" />
                    <RowDefinition Height="1*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100" />
                    <ColumnDefinition Width="194*" />
                </Grid.ColumnDefinitions>
                <TextBlock Text="Sorgente" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="3" />
                <TextBlock Text="Destinazione" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="3" />
                <ComboBox Name="cmbSource" Grid.Column="1" Margin="3" SelectionChanged="cmbSource_SelectionChanged" />
                <ComboBox Name="cmbDest" Grid.Column="1" Grid.Row="1" Margin="3" SelectionChanged="cmbDest_SelectionChanged" />
            </Grid>
        </GroupBox>
        <Button Name="cmdConfirm" Content="Conferma" Grid.Column="2" Grid.Row="2" Margin="3" Click="cmdConfirm_Click" />
        <Button Name="cmdCancel" Content="Annulla" Grid.Row="2" Margin="3" Click="cmdCancel_Click" />
        <Button Name="cmdDelete" Visibility="Collapsed" Grid.Row="2" Grid.Column="1" Margin="3" VerticalAlignment="Center" HorizontalAlignment="Center" Width="70" Click="cmdDelete_Click">
            <StackPanel Orientation="Horizontal">
                <Image Source="Images/delete.png" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                <TextBlock Text="Elimina" VerticalAlignment="Center" HorizontalAlignment="Center" />
            </StackPanel>
        </Button>
    </Grid>
</Window>
